﻿#if SILVERLIGHT
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Markup;
using LogoFX.Infra.XAML;

namespace System.Xaml
{
    public static class XamlServices
    {
        public static object Parse(string xaml)
        {
            return XamlReader.Load(xaml);
        }
        
        public static string Save(object o)
        {
            return new XamlSerializer().Serialize(o);
        }
    }
}

#endif